package chatBot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 会话实体类
 */
@Data
@TableName(value = "conversation")
@ApiModel(description = "会话实体")
public class Conversation {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "会话ID", example = "1823197612623302658")
    private Long conversationId;

    @ApiModelProperty(value = "用户ID", example = "1822944192255500290")
    private Long userId;


    @ApiModelProperty(value = "创建时间", example = "2024-08-13 11:19:19")
    private LocalDateTime createTime;


    @ApiModelProperty(value = "会话名称", example = "会话名称")
    private String conversationName;

}


